
export const setting = [{
  field: "regId",
  title: "",
  type: "text"
},
{
  field: "visitType",
  title: "来访类型 因公/因私",
  type: "text"
},
{
  field: "visitDate",
  title: "预计来访日期",
  type: "date"
},
{
  field: "visitTime1",
  title: "预计来访时间1",
  type: "time"
},
{
  field: "visitTime2",
  title: "预计来访时间2",
  type: "time"
},
{
  field: "leaveTime",
  title: "预计离开时间",
  type: "time"
},
{
  field: "visitSite",
  title: "来访地点 深圳总部，东莞分公司等",
  type: "text"
},
{
  field: "visitedEmployee",
  title: "被访问员工编号",
  type: "text"
},
{
  field: "visitedEmployeeOrg",
  title: "被访问员工所属部门ID",
  type: "text"
},
{
  field: "visitMemo",
  title: "备注",
  type: "text"
},
{
  field: "visitedFlag",
  title: "已来访标志 2-未来
1-已来",
  type: "text"
},
{
  field: "insertUser",
  title: "登记用户",
  type: "text"
},
{
  field: "insertDate",
  title: "登记日期",
  type: "date"
},
{
  field: "insertTime",
  title: "登记时间",
  type: "time"
},
]

export const rule = {
regId: [
  { required: true, message: '必填项', trigger: 'blur' }
],
visitType: [
  { required: true, message: '必填项', trigger: 'blur' }
],
visitDate: [
  { required: true, message: '必填项', trigger: 'blur' }
],
visitTime1: [
  { required: true, message: '必填项', trigger: 'blur' }
],
visitTime2: [
  { required: true, message: '必填项', trigger: 'blur' }
],
visitSite: [
  { required: true, message: '必填项', trigger: 'blur' }
],
visitedEmployee: [
  { required: true, message: '必填项', trigger: 'blur' }
],
visitedEmployeeOrg: [
  { required: true, message: '必填项', trigger: 'blur' }
],
visitedFlag: [
  { required: true, message: '必填项', trigger: 'blur' }
],}
